package com.ruoyi.web.ydz.util.quartz;

import com.ruoyi.common.core.domain.R;
import org.quartz.JobDataMap;
import org.quartz.SchedulerException;

public interface QuartzService {
    public R addCronJob(String jobName, String cron, String jobClassName, String triggerName, JobDataMap jobDataMap);
    public R updateCronJob(String jobName,String cron, String jobClassName);
    public R pauseCronJob(String jobName, String triggerName);
    public R resumeCronJob(String jobName, String triggerName);
    public R deleteCronJob(String jobName, String jobGroup, String triggerName, String triggerGroup);
    public void getQuartLis() throws SchedulerException;
}
